<?php 
include "konek.php"; 
if(isset($_GET['email']))
{
$user=$_GET['email'];
$simpan=mysql_query("SELECT * FROM  guru where email = '$user'");
                $hasil=mysql_fetch_assoc($simpan);
                echo '
                <h3>PROFILE</h3>
                <h1 class="page-title"> '.$hasil['first_name'].' '.$hasil['last_name'].'</h1>
                    <div class="panel-heading resume-heading">
                        <div class="row">
                          <div class="col-lg-12">
                            <div class="col-xs-12 col-sm-6">
                              <figure>
                                <img class="img-circle img-responsive" alt="" src="'.$hasil['img'].'">
                              </figure>
                            </div>

                            <div class="col-xs-12 col-sm-12">
                              <ul class="list-group">
                                <li class="list-group-item">'.$hasil['first_name'].' '.$hasil['last_name'].'</li>
                                <li class="list-group-item">guru</li>
                                <li class="list-group-item"><i class="fa fa-phone"></i> 000-000-0000 </li>
                                <li class="list-group-item"><i class="fa fa-envelope"></i> '.$hasil['email'].'</li>
                              </ul>
                            </div>
                          </div>
                        </div>
                      </div>';
}
?>